﻿using System;
namespace Numble
{
    static class Color
    {
        public static ConsoleColor GetColor(int n)
        {
            switch (n)
            {
                case 0:
                    return ConsoleColor.Black;
                case 1:
                    return ConsoleColor.Blue;
                case 2:
                    return ConsoleColor.Yellow;
                case 3:
                    return ConsoleColor.Green;
                case 4:
                    return ConsoleColor.Red;
                case 5:
                    return ConsoleColor.Cyan;
                case 6:
                    return ConsoleColor.Magenta;
            }
            throw new ArgumentException();
        }
    }
}
